home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
viewers
/
polyview
/
hdf-ucd.lha
/
HDF-UCD
/
main.h
< prev
next >
Wrap
Text File
|
1992-03-04
|
1KB
|
48 lines
#define MAXP3D 7
#define CTYPE 18
#define SLENGTH 27
#define NULLCLS ""
int maxvertices;
int maxcells;
int maxqfaces;
int maxtfaces;
int maxpcells;
int maxpfaces;
static int PROCESSED;
int FEsequence[CTYPE][SLENGTH];
int FErefs[MAXP3D];
/* quad faces and tri faces arrays */
int *quadfaces;/* dynamic array storing quadfaces
and associated facet-edge pairs */
int *trifaces; /* dynamic array storing trifaces
and associated facet-edge pairs */
/* for the cell array */
int *cellarr; /* stores pointer to one of the faces, cell
type and material # for each cell */
/* for plane faces like quad and triangles */
int *pcellarr;
int *planefaces;
int *Faces;
int *HullFaces;
int fslot=0; /* keep track of faces in Faces array */
int hfslot=0; /* keep track of faces of hull */
int qfslot=1; /* track of quad facetedge array */
int tfslot=1; /* track of tri facetedge array */
int cellslot=1; /* track of cell array */
/* for plane faces */
int pfcslot = 0; /* no of cells = no of faces , so one index is sufficient */